Dynomotion

Group: DynoMotion Message: 379 From: Rick Date: 5/17/2010
Subject: Tuning DAC servos
Hello,

I am just getting started with my KFLOP and Kanalog. I was successful in getting a configuration that works (even though I have not been able to duplicate it since). And I am looking for some documentation on how to tune the servo loop when using DAC servos.

Thanks

Rick
Group: DynoMotion Message: 380 From: Tom Kerekes Date: 5/17/2010
Subject: Re: Tuning DAC servos
Hi Rick,
 
Have you read through this:
 
 
Basically start off simple with your IIR filters cleared and low PID gains such as (P=0.1 I=0 D=0).
 
Set Feedforwards to zero
 
Set Deadband Range=0 Gain=1
 
Set Following Error to big number (1000000)
 
To be safe limit your max output (speed) to ~10% using Max Output=200
 
Set reasonable motion profile parameters Vel, Accel, Jerk
 
Perform a "Move" command (Size=1000 Time 3sec) with a plot type of "Command, Position, Output, vs Time)
 
Check if the Position attempts to follow Command (does red plot follow blue?).
 
If it does, your system is servoing.  Increase gains to improve performance.  If gains are increased too much the system will become unstable and oscillate violently.  Hit STOP to disable servos.
 
Increase gains by significant amounts such as 20% and keep gain numbers simple (ie 1.5 not 1.456678)
Also note how much Output is being commanded (green plot).
 
Save Screen shots as .png files and post them if you need help.
 
Good luck
TK